﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Globalization;

namespace Tests {
    [TestClass]
    public class UnitTest1 {
        [TestMethod]
        public void TestEquCultures() {
            CultureInfo ci1 = new CultureInfo("pl");
            CultureInfo ci2 = new CultureInfo("pl-PL");
            Assert.AreEqual("pl", ci1.Name, true);
            Assert.AreEqual("pl-PL", ci2.Name, true);
            Assert.AreNotSame(ci1, ci2);
            Assert.AreEqual(ci1, ci2.Parent);
        }
    }
}
